/*    */ package server.movement;
/*    */ 
/*    */ import java.awt.Point;
/*    */ import tools.data.output.MaplePacketLittleEndianWriter;
/*    */ 
/*    */ public class RelativeLifeMovement
/*    */   extends AbstractLifeMovement {
/*    */   private byte end;
/*    */   
/*    */   public RelativeLifeMovement(int type, Point position, int duration, int newstate) {
/* 11 */     super(type, position, duration, newstate);
/*    */   }
/*    */   
/*    */   public void setEnd(byte end) {
/* 15 */     this.end = end;
/*    */   }
/*    */   
/*    */   public void serialize(MaplePacketLittleEndianWriter lew) {
/* 19 */     lew.write(getType());
/* 20 */     lew.writePos(getPosition());
/* 21 */     lew.write(getNewstate());
/* 22 */     lew.writeShort(getDuration());
/* 23 */     lew.write(this.end);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\server\movement\RelativeLifeMovement.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */